﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Automobile.service.DAL;
using Automobile.service.Model;
namespace Automobile.service.BLL
{
   public class CaigouBLL
    {
       CaigouDAL dal = new CaigouDAL();
        /// <summary>
        /// 根据年份区间获取采购信息
        /// </summary>
        /// <param name="firstyear"></param>
        /// <param name="lastyear"></param>
        /// <returns></returns>
        public string CaigouByyear(string firstyear, string lastyear)
        {
            return dal.CaigouByyear(firstyear, lastyear);
        }
        /// <summary>
        /// 根据月份获取采购信息
        /// </summary>
        /// <param name="firstyear"></param>
        /// <param name="lastyear"></param>
        /// <returns></returns>
        public string CaigouByMonth(string firstyear, string firstmonth, string lastmonth)
        {
            return dal.CaigouByMonth(firstyear, firstmonth, lastmonth);
        }
    }
}
